Annotate GdkTimeCoord's array field
authorEmmanuele Bassi <ebassi@gnome.org>
Tue, 17 Nov 2020 14:07:11 +0000 (14:07 +0000)
committerEmmanuele Bassi <ebassi@gnome.org>
Tue, 17 Nov 2020 14:07:11 +0000 (14:07 +0000)
We need to resolve the array length manually, because g-ir-scanner
cannot turn an enumeration member into a constant size.

gdk/gdkdevice.h

index 16508c27a3d3c620ba5f6e92042d0979602fafb2..58d75199f80247a2776b7e0642f18631acba62bb 100644 (file)
@@ -66,7 +66,7 @@ typedef enum
  * GdkTimeCoord:
  * @time: The timestamp for this event.
  * @flags: Flags indicating what axes are present
- * @axes: axis values
+ * @axes: (array fixed-size=12): axis values
  *
  * A #GdkTimeCoord stores a single event in a motion history.
  */